﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Pg.BioMedics.SDR.ServiceAgents
{
    /// <summary>
    /// Exception class utilized for signaling errors 
    /// in services agents component. This exception balongs to 
    /// application exceptions class.
    /// </summary>
    public class ServiceAgentException : ApplicationException
    {
        #region Constructors
        
        internal ServiceAgentException()
            : base() { }

        internal ServiceAgentException(string message)
            : base(message) { }

        internal ServiceAgentException(string format, params object[] args)
            : base(String.Format(format, args)) { }

        internal ServiceAgentException(string message, Exception innerException)
            : base(message, innerException) { }

        internal ServiceAgentException(string format, Exception innerException, params object[] args)
            : base(String.Format(format, args), innerException) { }

        #endregion
    }
}
